package com.fita.entity.set;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author mohanlan
 *
 */
@Alias("SetPayType")
public enum SetPayType {

    FLOAT_PREPAY("浮动预付"),

    COMMON_PERPAY("常规预付"),
    
    DYNAMIC_PREPAY("动态预付"),

    ARRIVEPAY("到付");

    private String description;

    /**
     * @param description
     */
    private SetPayType(String description) {
        this.description = description;
    }
    
    /**
     * 
     * @return
     */
    public boolean isFloatPrepay() {
        return this.equals(FLOAT_PREPAY);
    }
    
    /**
     * 
     * @return
     */
    public boolean isDynamicPrepay() {
        return this.equals(DYNAMIC_PREPAY);
    }
    
    /**
     * 
     * @return
     */
    public boolean isCommonPerpay() {
        return this.equals(COMMON_PERPAY);
    }
    
    /**
     * 
     * @return
     */
    public boolean isArrivepay() {
        return this.equals(ARRIVEPAY);
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

}
